PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Geometric / Wire Spiral / shifter + Flexi - liquid circuitry from the pataoblivion hive fish expl.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.010 |
| 27 | fWaveSmoothing=0.270 |
| 28 | fWaveParam=-0.380 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=0.107 |
| 33 | fZoomExponent=4.10046 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=1.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=1.000 |
| 56 | ib_g=1.000 |
| 57 | ib_b=1.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=2.98779 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=x = .5+.25*(sample*2)*sin(sample*100+time*10); |
| 89 | wave_0_per_point2=y = .5+.25*(sample*2)*cos(sample*100+time*10); |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=n2=abs((sample*6.283)-3.1415); |
| 92 | wave_0_per_point5=t=time*5; |
| 93 | wave_0_per_point6=r=sin(n2+t)*0.5+0.5; |
| 94 | wave_0_per_point7=g=sin(n2+2.1+t)*0.5+0.5; |
| 95 | wave_0_per_point8=b=sin(n2+4.2+t)*0.5+0.5; |
| 96 | wave_0_per_point9= |
| 97 | wave_0_per_point10= |
| 98 | wave_0_per_point11=//r = .5+.5*sin(sample*50); |
| 99 | wave_0_per_point12=//b = .5+.5*sin(sample*10); |
| 100 | wave_0_per_point13=//g = .5+.5*sin(sample*30); |
| 101 | wavecode_1_enabled=0 |
| 102 | wavecode_1_samples=512 |
| 103 | wavecode_1_sep=0 |
| 104 | wavecode_1_bSpectrum=0 |
| 105 | wavecode_1_bUseDots=0 |
| 106 | wavecode_1_bDrawThick=0 |
| 107 | wavecode_1_bAdditive=0 |
| 108 | wavecode_1_scaling=1.00000 |
| 109 | wavecode_1_smoothing=0.50000 |
| 110 | wavecode_1_r=1.000 |
| 111 | wavecode_1_g=1.000 |
| 112 | wavecode_1_b=1.000 |
| 113 | wavecode_1_a=1.000 |
| 114 | wavecode_2_enabled=0 |
| 115 | wavecode_2_samples=512 |
| 116 | wavecode_2_sep=0 |
| 117 | wavecode_2_bSpectrum=0 |
| 118 | wavecode_2_bUseDots=0 |
| 119 | wavecode_2_bDrawThick=0 |
| 120 | wavecode_2_bAdditive=0 |
| 121 | wavecode_2_scaling=1.00000 |
| 122 | wavecode_2_smoothing=0.50000 |
| 123 | wavecode_2_r=1.000 |
| 124 | wavecode_2_g=1.000 |
| 125 | wavecode_2_b=1.000 |
| 126 | wavecode_2_a=1.000 |
| 127 | wavecode_3_enabled=0 |
| 128 | wavecode_3_samples=512 |
| 129 | wavecode_3_sep=0 |
| 130 | wavecode_3_bSpectrum=0 |
| 131 | wavecode_3_bUseDots=0 |
| 132 | wavecode_3_bDrawThick=0 |
| 133 | wavecode_3_bAdditive=0 |
| 134 | wavecode_3_scaling=1.00000 |
| 135 | wavecode_3_smoothing=0.50000 |
| 136 | wavecode_3_r=1.000 |
| 137 | wavecode_3_g=1.000 |
| 138 | wavecode_3_b=1.000 |
| 139 | wavecode_3_a=1.000 |
| 140 | shapecode_0_enabled=0 |
| 141 | shapecode_0_sides=4 |
| 142 | shapecode_0_additive=0 |
| 143 | shapecode_0_thickOutline=0 |
| 144 | shapecode_0_textured=0 |
| 145 | shapecode_0_num_inst=1 |
| 146 | shapecode_0_x=0.500 |
| 147 | shapecode_0_y=0.500 |
| 148 | shapecode_0_rad=0.34000 |
| 149 | shapecode_0_ang=1.57080 |
| 150 | shapecode_0_tex_ang=0.00000 |
| 151 | shapecode_0_tex_zoom=1.00000 |
| 152 | shapecode_0_r=0.000 |
| 153 | shapecode_0_g=0.000 |
| 154 | shapecode_0_b=0.000 |
| 155 | shapecode_0_a=1.000 |
| 156 | shapecode_0_r2=0.000 |
| 157 | shapecode_0_g2=0.000 |
| 158 | shapecode_0_b2=0.500 |
| 159 | shapecode_0_a2=0.000 |
| 160 | shapecode_0_border_r=0.000 |
| 161 | shapecode_0_border_g=0.000 |
| 162 | shapecode_0_border_b=0.000 |
| 163 | shapecode_0_border_a=0.000 |
| 164 | shape_0_per_frame1=ang = 1.55; |
| 165 | shape_0_per_frame2=rad = rad+.3*bass; |
| 166 | shape_0_per_frame3=r = if(above(bass,1.5),1,0); |
| 167 | shape_0_per_frame4=g = if(above(bass,1.5),1,0); |
| 168 | shape_0_per_frame5=b = if(above(bass,1.5),1,0); |
| 169 | shapecode_1_enabled=1 |
| 170 | shapecode_1_sides=8 |
| 171 | shapecode_1_additive=0 |
| 172 | shapecode_1_thickOutline=0 |
| 173 | shapecode_1_textured=1 |
| 174 | shapecode_1_num_inst=1 |
| 175 | shapecode_1_x=0.500 |
| 176 | shapecode_1_y=0.500 |
| 177 | shapecode_1_rad=1.00394 |
| 178 | shapecode_1_ang=0.00000 |
| 179 | shapecode_1_tex_ang=3.14159 |
| 180 | shapecode_1_tex_zoom=4.36075 |
| 181 | shapecode_1_r=1.000 |
| 182 | shapecode_1_g=1.000 |
| 183 | shapecode_1_b=1.000 |
| 184 | shapecode_1_a=0.000 |
| 185 | shapecode_1_r2=1.000 |
| 186 | shapecode_1_g2=1.000 |
| 187 | shapecode_1_b2=1.000 |
| 188 | shapecode_1_a2=0.400 |
| 189 | shapecode_1_border_r=1.000 |
| 190 | shapecode_1_border_g=1.000 |
| 191 | shapecode_1_border_b=1.000 |
| 192 | shapecode_1_border_a=0.000 |
| 193 | shape_1_per_frame1=ang=sin(time/10)*6.28; |
| 194 | shapecode_2_enabled=0 |
| 195 | shapecode_2_sides=3 |
| 196 | shapecode_2_additive=0 |
| 197 | shapecode_2_thickOutline=0 |
| 198 | shapecode_2_textured=0 |
| 199 | shapecode_2_num_inst=1 |
| 200 | shapecode_2_x=0.500 |
| 201 | shapecode_2_y=0.500 |
| 202 | shapecode_2_rad=0.21000 |
| 203 | shapecode_2_ang=0.00000 |
| 204 | shapecode_2_tex_ang=0.00000 |
| 205 | shapecode_2_tex_zoom=1.00000 |
| 206 | shapecode_2_r=0.840 |
| 207 | shapecode_2_g=0.000 |
| 208 | shapecode_2_b=0.000 |
| 209 | shapecode_2_a=1.000 |
| 210 | shapecode_2_r2=1.000 |
| 211 | shapecode_2_g2=0.580 |
| 212 | shapecode_2_b2=0.000 |
| 213 | shapecode_2_a2=0.000 |
| 214 | shapecode_2_border_r=1.000 |
| 215 | shapecode_2_border_g=1.000 |
| 216 | shapecode_2_border_b=1.000 |
| 217 | shapecode_2_border_a=0.000 |
| 218 | shape_2_per_frame1=ang = ang + time*4; |
| 219 | shapecode_3_enabled=0 |
| 220 | shapecode_3_sides=4 |
| 221 | shapecode_3_additive=0 |
| 222 | shapecode_3_thickOutline=0 |
| 223 | shapecode_3_textured=0 |
| 224 | shapecode_3_num_inst=1 |
| 225 | shapecode_3_x=0.500 |
| 226 | shapecode_3_y=0.500 |
| 227 | shapecode_3_rad=0.10000 |
| 228 | shapecode_3_ang=0.00000 |
| 229 | shapecode_3_tex_ang=0.00000 |
| 230 | shapecode_3_tex_zoom=1.00000 |
| 231 | shapecode_3_r=1.000 |
| 232 | shapecode_3_g=0.000 |
| 233 | shapecode_3_b=0.000 |
| 234 | shapecode_3_a=1.000 |
| 235 | shapecode_3_r2=0.000 |
| 236 | shapecode_3_g2=1.000 |
| 237 | shapecode_3_b2=0.000 |
| 238 | shapecode_3_a2=0.000 |
| 239 | shapecode_3_border_r=1.000 |
| 240 | shapecode_3_border_g=1.000 |
| 241 | shapecode_3_border_b=1.000 |
| 242 | shapecode_3_border_a=0.100 |
| 243 | per_frame_1=//begin beat code |
| 244 | per_frame_2=volume = 0.3*(bass+mid); |
| 245 | per_frame_3=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate); |
| 246 | per_frame_4=lastbeat = lastbeat + equal(lastbeat,0)*time; |
| 247 | per_frame_5=meanbass_att = 0.05*(meanbass_att*19 + bass_att); |
| 248 | per_frame_6=peakbass_att = max(bass_att,peakbass_att); |
| 249 | per_frame_7=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1)); |
| 250 | per_frame_8=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1); |
| 251 | per_frame_9=//Adjust responsiveness: To increase responsiveness, set the "0.96 and "0.996" on the next line to slightly lower values. Higher values decrease responsiveness. |
| 252 | per_frame_10=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.96 + (1-above(time - lastbeat, 2*beatrate))*0.996); |
| 253 | per_frame_11=lastbeat = beat*time + (1-beat)*lastbeat; |
| 254 | per_frame_12=peakbass_att = max(peakbass_att,1.1*meanbass_att); |
| 255 | per_frame_13=//end beat code |
| 256 | per_frame_14= |
| 257 | per_frame_15=zoom = 1; |
| 258 | per_frame_16=decay = 1; |
| 259 | per_frame_17=warp = 0; |
| 260 | per_frame_18=wave_a = 0; |
| 261 | per_frame_19= |
| 262 | per_frame_20=tic = min(time-tin,.1); |
| 263 | per_frame_21=tin = time; |
| 264 | per_frame_22= |
| 265 | per_frame_23=q2 = 1; |
| 266 | per_frame_24= |
| 267 | per_frame_25=q1=1; |
| 268 | per_frame_26=vol = vol + ((alt + bass + mid)/3-vol)*tic*1; |
| 269 | per_frame_27=q5 = vol*vol*vol*2; |
| 270 | per_frame_28= |
| 271 | per_frame_29= |
| 272 | per_frame_30=q8 = sin(time)*.5; |
| 273 | per_frame_31=q9 = sin(time*.75)*.5; |
| 274 | per_frame_32= |
| 275 | per_frame_33=sw = abs(sw - beat); |
| 276 | per_frame_34=an = an + tic*.5*(1-2*sw); |
| 277 | per_frame_35= |
| 278 | per_frame_36= |
| 279 | per_frame_37=q7 = 1+(pow(q8,2) + pow(q9,2))*1; |
| 280 | per_frame_38=q10 = sin(an); |
| 281 | per_frame_39=q11 = cos(an); |
| 282 | per_frame_40= |
| 283 | per_frame_41=sp = sp + tic*vol*vol*.5; |
| 284 | per_frame_42= |
| 285 | per_frame_43=q12 = sp; |
| 286 | per_frame_44= |
| 287 | per_frame_45=monitor = q12; |
| 288 | per_pixel_1=//zoom = pow(rad,2)+.01; |
| 289 | warp_1=` |
| 290 | warp_2=`shader_body |
| 291 | warp_3=`{ |
| 292 | warp_4=` |
| 293 | warp_5=`ret.xyz = tex2D(sampler_main, uv_orig).xyz*float3(.97,1,.97) - float3(.03,0,.03); |
| 294 | warp_6=` |
| 295 | warp_7=`ret.z += GetBlur1(uv_orig).z*.45; |
| 296 | warp_8=`ret.x += GetBlur1(uv_orig).z*.05 + GetBlur3(uv_orig).z*.05; |
| 297 | warp_9=`ret.z -= ret.x; |
| 298 | warp_10=` |
| 299 | warp_11=`ret-=roam_sin.wzy*roam_cos.zxy; |
| 300 | warp_12=`float2 pixelsize = texsize.zw; |
| 301 | warp_13=`ret.y = saturate(tex2D( sampler_pw_main,uv_orig).y); |
| 302 | warp_14=` |
| 303 | warp_15=`float1 conway = tex2D( sampler_pw_main, uv_orig + float2(-1,-1)*pixelsize).y; |
| 304 | warp_16=` conway += tex2D( sampler_pw_main, uv_orig + float2(0,-1)*pixelsize).y; |
| 305 | warp_17=` conway += tex2D( sampler_pw_main, uv_orig + float2(1,-1)*pixelsize).y; |
| 306 | warp_18=` conway += tex2D( sampler_pw_main, uv_orig + float2(-1,0)*pixelsize).y; |
| 307 | warp_19=` conway += tex2D( sampler_pw_main, uv_orig + float2(1,0)*pixelsize).y; |
| 308 | warp_20=` conway += tex2D( sampler_pw_main, uv_orig + float2(-1,1)*pixelsize).y; |
| 309 | warp_21=` conway += tex2D( sampler_pw_main, uv_orig + float2(0,1)*pixelsize).y; |
| 310 | warp_22=` conway += tex2D( sampler_pw_main, uv_orig + float2(1,1)*pixelsize).y; |
| 311 | warp_23=` |
| 312 | warp_24=`float1 test = q5*(1-GetBlur1(uv_orig).y)*(1-GetBlur2(uv_orig).y)*(1-GetBlur3(uv_orig).y); |
| 313 | warp_25=` |
| 314 | warp_26=`conway -= tex2D( sampler_pw_main, uv_orig).x; |
| 315 | warp_27=` |
| 316 | warp_28=` |
| 317 | warp_29=`if (conway > 0) { |
| 318 | warp_30=`if (saturate(ret.y) == 0) { |
| 319 | warp_31=`ret.y = floor(test*1.8)*q1; |
| 320 | warp_32=`} |
| 321 | warp_33=`} |
| 322 | warp_34=` |
| 323 | warp_35=`ret.y -= ret.x; |
| 324 | warp_36=` |
| 325 | warp_37=`ret.xyz -= 1-q2; |
| 326 | warp_38=`} |
| 327 | comp_1=`shader_body |
| 328 | comp_2=`{ |
| 329 | comp_3=`float2 d = texsize.zw*3; |
| 330 | comp_4=`float3 dx = GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv + float2(-1,0)*d); |
| 331 | comp_5=`float3 dy = GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv + float2(0,-1)*d); |
| 332 | comp_6=`float2 uv1 = frac(uv - float2(dx.y,dy.y)*1 - float2(dx.z,dy.z)*rad*2); |
| 333 | comp_7=`float2 uv_swimmer =frac(0.5 + (uv-0.5)+float2(q19,q20)*float2(-1,1)); |
| 334 | comp_8=`dx = GetBlur1(uv_swimmer + float2(1,0)*d) - GetBlur1(uv_swimmer + float2(-1,0)*d); |
| 335 | comp_9=`dy = GetBlur1(uv_swimmer + float2(0,1)*d) - GetBlur1(uv_swimmer + float2(0,-1)*d); |
| 336 | comp_10=`uv1 -= float2(dx.x,dy.x)*4; |
| 337 | comp_11=` |
| 338 | comp_12=`ret = lerp(ret,1,GetBlur2(uv1).y); |
| 339 | comp_13=`ret-=roam_sin.zyx*roam_cos.ywx; |
| 340 | comp_14=`ret = lerp(ret,float3(1,0.5,0),GetPixel(uv).y); |
| 341 | comp_15=`ret = lerp(ret,float3(1,1,1),GetPixel(uv-float2(dx.x,dy.x)*0.2).z*saturate(1-rad*1.5)); |
| 342 | comp_16=` |
| 343 | comp_17=` |
| 344 | comp_18=` |
| 345 | comp_19=`ret = lerp(ret, 1, GetBlur1(uv_swimmer+float2(dx.x,dy.x)*0.3).x); |
| 346 | comp_20=`ret = lerp(ret,float3(0.5,0,1),GetPixel(uv_swimmer).x); |
| 347 | comp_21=`} |